package com.miao.admin.entity.vo;

import java.util.List;

/**
 * @author MiaoWenqing
 * @description: 商品类型
 * @date 2021/2/3 09:56
 */
public class ClassificationVO {
    /**
     * 类型ID
     */
    private String classId;
    /**
     * 分类名
     */
    private String className;
    /**
     * 类型级别
     */
    private Integer classGrade;

    /**
     * 子类型
     */
    private List<ClassificationVO> children;


    public ClassificationVO() {
    }

    @Override
    public String toString() {
        return "ClassificationVO{" +
                "classId='" + classId + '\'' +
                ", className='" + className + '\'' +
                ", classGrade=" + classGrade +
                ", children=" + children +
                '}';
    }

    public String getClassId() {
        return classId;
    }

    public void setClassId(String classId) {
        this.classId = classId;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public Integer getClassGrade() {
        return classGrade;
    }

    public void setClassGrade(Integer classGrade) {
        this.classGrade = classGrade;
    }

    public List<ClassificationVO> getChildren() {
        return children;
    }

    public void setChildren(List<ClassificationVO> children) {
        this.children = children;
    }

    public ClassificationVO(String classId, String className, Integer classGrade, List<ClassificationVO> children) {
        this.classId = classId;
        this.className = className;
        this.classGrade = classGrade;
        this.children = children;
    }
}
